package com.witdata.common.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.witdata.common.serializer.ToLongDeSerializer;
import lombok.*;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class EnvironmentDto {

    @JsonSerialize(using = ToStringSerializer.class)
    @JsonDeserialize(using = ToLongDeSerializer.class)
    private Long id;

    private String name;

    private String type;

    private String imageName;

    private List<String> containerEnv;

    private String prefixCommand;

    private String suffixCommand;
}
